<div class="am-u-sm-12 widget main-w">
	{if $notPopup}
	<ol class="am-breadcrumb">
		<li>
			<a href="{:url('/admin/index')}">首页</a>
		</li>
		<li class="am-active">操作日记</li>
	</ol>
	{/if}
	<div class="am-u-sm-12 cl-p">
		<form class="am-form-inline tpl-form-border-form">
			<div class="widget am-u-sm-12 cl-p">

				<div class="am-u-sm-12 am-form-group cl-p">
					<div class="am-u-sm-12">
						
						<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped am-text-truncate tpl-table-black">
							<thead>
								<tr>
									<th>用户</th>
									<th>操作</th>
									<th>IP</th>
									<th>相关数据</th>
									<th>时间</th>
								</tr>
							</thead>
							<tbody>
								{foreach $list as $key => $item}
								<tr class="gradeX" data-id="{$item.user_id}">
									<td>{$item.username}</td>
									<td>{:lang($item.router)}</td>
									<td>{$item.ip}</td>
									<td>{if $item.data}<div class="hide">{:dump(json_decode($item.data,1))}</div> <a class="viewdata am-btn am-btn-primary am-btn-xs">显示/隐藏</a> {else}无{/if} </td>
									<td>{$item.datetime}</td>
								</tr>
								{/foreach}
							</tbody>
						</table>
					</div>
				</div>
				<div class="am-u-sm-12">
					<div class="am-fr">
						{$pager}
					</div>
				</div>

			</div>
		</form>
	</div>
</div>